<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/30 0030
 * Time: 16:41
 */
namespace app\common\model;

use think\Model;

class UserImg extends Model
{
    protected $table = 'cl_user_img';

    public function getList(array $map) :array
    {
        return self::where($map)
            ->order('create_time desc')
            ->field('img_id,img')
            ->select();
    }
}